% by YLX 6/11
% Version 4.0
%% Replaced the original findPIE by genPIE 
%% This findPIE is for finding PIE in PIEs
%% Which imporves performace
function PIE = findPIE(m)
    global PIEs
    PIE = PIEs{m+1}; % PIEs is a cell
    return;

